﻿using System.Collections.Generic;

public static class OrderTestData
{
    public static Order CreateOrder(int orderId, string customerName)
    {
        var order = new Order
        {
            OrderId = orderId,
            Customer = customerName,
            OrderDetails = new List<OrderDetail>
            {
                new OrderDetail { ProductName = "Product1", UnitPrice = 10m, Quantity = 2 },
                new OrderDetail { ProductName = "Product2", UnitPrice = 20m, Quantity = 3 }
            }
        };
        return order;
    }
}
